package com.imooc.distributedemo.entity;

//import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import lombok.Data;

import javax.persistence.Id;
import javax.persistence.Table;
import java.math.BigDecimal;

@Data
@TableName("t_product")
public class Product {

    @Id
//    @TableId
    private Long productId;


    private String productName;
    private Integer amount;

    private BigDecimal price;

    private Integer categoryId;
    private String description;
}
